<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>BIRT Chart Library Aggregate Function Extension</title>
<style>@import url("file:/c:/Program Files/eclipse3.1/plugins/org.eclipse.sdk_3.1.0/book.css");</style>
<style>@import url("file:/c:/Program Files/eclipse3.1/plugins/org.eclipse.platform.doc.isv_3.1.0/schema.css");</style>
</HEAD>
<BODY>
<H1><CENTER>BIRT Chart Library Aggregate Function Extension</CENTER></H1>
<p></p>
<h6 class=CaptionFigColumn id=header>Identifier: </h6>org.eclipse.birt.chart.engine.aggregatefunctions<p></p>
<h6 class=CaptionFigColumn id=header>Since: </h6>1.0.0
<p></p>

<p>
<h6 class=CaptionFigColumn id=header>Description: </h6>This extension point is used to define custom Aggregate Functions for use by the chart library. Each extension must implment the IAggregateFunction interface.</p>
<p><h6 class=CaptionFigColumn id=header>Configuration Markup:</h6></p>
<p class=code id=dtd>&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.aggregateFunction">aggregateFunction</a>)&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST extension</p>
<p class=code id=dtdAttlist>point&nbsp;CDATA #REQUIRED<p class=code id=dtdAttlist>id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>name&nbsp;&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
<ul class=ConfigMarkup id=attlistDesc>
</ul>
<br><p class=code id=dtd>&lt;!ELEMENT <a name="e.aggregateFunction">aggregateFunction</a> EMPTY&gt;</p>
<p class=code id=dtd>&lt;!ATTLIST aggregateFunction</p>
<p class=code id=dtdAttlist>name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED<p class=code id=dtdAttlist>function&nbsp;CDATA #IMPLIED&gt;</p>
<p></p>
<p class=ConfigMarkup id=elementDesc>
The definition of an Aggregate Function for use by the Chart Library.</p>
<br>
<ul class=ConfigMarkup id=attlistDesc>
<li><b>name</b> - The name of the aggregate function.</li>
<li><b>function</b> - The class providing the evaluation services for this aggregate function. This class should the implement IAggregateFunction interface.</li>
</ul>
<br><h6 class=CaptionFigColumn id=header>Examples: </h6><extension point="org.eclipse.birt.chart.engine.aggregatefunctions">
        <aggregateFunction
              function="org.eclipse.birt.chart.aggregate.Sum"
              name="Sum"/>
        <aggregateFunction
              function="org.eclipse.birt.chart.aggregate.Average"
              name="Average"/>
</extension>
<p></p>

<h6 class=CaptionFigColumn id=header>API Information: </h6>The Aggregate Function implementation must implement the IAggregateFunction interface in the <i>org.eclipse.birt.chart.aggregate</i> package. See the javadoc for the interface for more information.
<p></p>

<h6 class=CaptionFigColumn id=header>Supplied Implementation: </h6>The <i>org.eclipse.birt.chart.engine.extension</i> plug-in provides an example of an implementation of IAggregateFuntion.
<p></p>

<br>
<p class=note id=copyright>
Copyright (c) 2004-2005 Actuate Corporation.
All rights reserved. This program and the accompanying materials are made available under the  terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-2.0.html
<p></p>

</p>
</BODY>
</HTML>
